package cn.edu.fudan.test;

import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;

import cn.edu.fudan.classifier.PAMAPData;
import cn.edu.fudan.type.Activities;
import cn.edu.fudan.type.PAMAPDimension;

public class PAMAP_1 {
	
	private static Logger logger = Logger.getLogger(PAMAP_1.class);
	static PAMAPData pamapData;
	private static Activities lable = Activities.DescendingStairs;
	private static PAMAPDimension dimension = PAMAPDimension.z_ankle;

	@Before
	public void StartUp(){
		pamapData = new PAMAPData();
		logger.info("---------------------------------------------------------------");
		logger.info(lable+"\t"+dimension);
		logger.info("---------------------------------------------------------------");
	}
	
	@Test
	public void testSubject101() {
		String subject = "subject1";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject102() {
		String subject = "subject2";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject103() {
		String subject = "subject3";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject104() {
		String subject = "subject4";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject105() {
		String subject = "subject5";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject106() {
		String subject = "subject6";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject107() {
		String subject = "subject7";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}
	
	@Test
	public void testSubject108() {
		String subject = "subject8";
		logger.info(subject);
		pamapData.testOnPAMAP(subject, lable, dimension);
	}

}
